package com.aaa.oa.dao;

import com.aaa.common.entity.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author ：杨
 * @date ：Created in 2020/7/21 16:44
 * @description：
 * @modified By：
 * @version:
 */
@Repository
@Mapper
public interface BookDao {
    @Select("select id,book_name bookName,book_price bookPrice from book")
    List<Book> selectBook();
}
